home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_global.over == 0)
- {
- if(Key.isDown(40) && nop1 == 0)
- {
- if(nop3 <= 15)
- {
- nop3 += 1;
- this._height += 4;
- this._width += 3;
- this._y += 5;
- }
- }
- else if(nop3 > 0)
- {
- nop3 -= 1;
- this._height -= 4;
- this._width -= 3;
- this._y -= 5;
- }
- if(_root.target_s == 2 && nop1 == 0 && key_push == 0 && nop3 == 0)
- {
- if(Key.isDown(32))
- {
- nop1 = 1;
- tmp = _Y;
- }
- }
- if(Key.isDown(32))
- {
- key_push = 1;
- }
- else
- {
- key_push = 0;
- }
- if(nop1 != 0)
- {
- t1 += 1.5;
- _Y = _Y - (20 - 1 * t1);
- if(_Y >= tmp)
- {
- _Y = tmp;
- t1 = 0;
- nop1 = 0;
- }
- }
- }
- }
-